import request from '@/utils/request'

/**
 * @method saveMenu
 * @description 保存菜单
 */
export function saveMenu(data) {
  return request({
    url: '/mall/admin/goods/menu/save',
    method: 'post',
    data: data
  })
}

export function getMenu(data) {
  return request({
    url: '/mall/admin/goods/menu/list',
    method: 'post',
    data: data
  })
}
